﻿/******************************************************************************
 *  作者：       Maxzhang1985
 *  创建时间：   2012/4/6 8:40:14
 *
 *
 ******************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DatabaseSchemaReader.DataSchema;

namespace ExORMDesginer.Services
{
    /// <summary>
    /// 表描述信息写入类工厂
    /// </summary>
    public class DatabaseDescriptionWriterFactory
    {
        /// <summary>
        /// 创建工厂
        /// </summary>
        public static IDatabaseDescriptionWriter Create(SqlType type)
        {
            IDatabaseDescriptionWriter result = null;
            switch(type)
            {
                case SqlType.SqlServer:
                    result= new SqlDatabaseDescriptionWriter();
                    break;

            }


            return result;

        }


    }
}
